package com.molichuxing.gateway.bff.goods.entity.request.create;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 商品专属信息入参
 * @author xuelin yi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GoodsExclusiveCreateVo extends GoodsBaseCreateVo {

    private static final long serialVersionUID = -181500230950773232L;
    @ApiModelProperty(value = "付款方式(1:全款，2：分期)")
    @NotNull(message = "付款方式不能为空")
    private Integer paymentType;

    @ApiModelProperty(value = "是否回购规格id")
    private Integer isBuyBackSpecId;

    @ApiModelProperty(value = "里程限制")
    private Integer limitMileage;

    //    @ApiModelProperty(value = "专属商品类型：1：专属里程，2：订悦里程")
    @ApiModelProperty(value = "征信类型（1：茉莉征信，2：安鹏征信）")
    private Integer exclusiveType;

    @ApiModelProperty(value = "过户时限（0，12，24，36）")
    private Integer transferTime;

    @ApiModelProperty(value = "回购金额")
    private BigDecimal buybackAmount;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceFee;

    @ApiModelProperty(value = "保底回购价")
    private BigDecimal minimunGuaranteeAmount;

    @ApiModelProperty(value = "残值购买费")
    private BigDecimal residuaPurchaseAmount;

    @ApiModelProperty(value = "还 款 周 期规格id")
    private Integer paymentCycleSpecId;

    @ApiModelProperty(value = "首 付 期 数")
    private Integer firstTerms;

    @ApiModelProperty(value = "结算日（0：首付款日，1-28对应每月的几号）")
    private Integer settleDay;
}
